Capnodynamic monitoring